Concept Link IconServiceXG Basics

Template Data Sources

All WriterXG templates come pre-loaded with data sources. The WriterXG template data is in XML format that is pulled into the document as part of the document generation process.

The Data Source screen displays where your template data comes from, the best practice template defaults, the XMLClosed The sub-area of a tab or subtab. output location, and if the template uses generic dataClosed In WriterXG, generic data is the information that's used with any custom batch templates or on-demand templates. In other words, it's any data not defined in a basys function's process.. You can also view the XML schemaClosed The basys data elements and attributes available for a template. from this screen.

Most of the time you won't need to access this screen, but the information is available if you need to add or change a template's XML file location, review best practice template default settings, or investigate a template's XML schema for trouble shooting.

Access the Data Source screen

Go to: Home > System Administration > WriterXG > Data Source

The table columns have filtering (including multi-selecting) and sorting functionality. See Filter to learn how to use the table features.

Update the template data source

If you need to update the XML file location - the location where the Ecrion template process picks up the XML data to create the generated document - use these instructions. We recommend you use caution in changing any other settings.

  1. Access the Data Source screen
  2. In the Data Sources table, select the template data source. The information displays in the fields below the table.

    The Data Source, Description, Generic Data check box, and Data Set values are inactive and can't be changed.

  3. Update the Output File Location or any Template Defaults, and click to save your changes.
  4. Click Save icon to save.

Export to CSV File

If you need to export the grid data for the processes to a .CSV file, follow these instructions.

  1. Access the Data Source screen

  2. In the Processes table, select the Process ID you want to export.

  3. Click to export.

  4. Name your exported .CSV file and ensure it is in the desired location.

  5. Click save. A pop-up appears to notify you when the data is exported.

View a template's XML elements

The XML contains the data available for each template. If you have a document (letter, check, etc.) you can check the XML schema and see the data values available for that template. For example, let's say you have a disability letter and you expect to see a primary diagnosis code, you can look at the schema to see the fields available and then work with the template publisher to add or correct the template.

  1. Access the Data Source screen
  2. In the Data Sources table, select the template data source you're investigating.

    If you're not sure of the template's data source, you can find it in Template Configuration. See Access Template Configuration.

  3. Click to display the XML Elements window. In our example, we selected the ANN_CHK_XML data source.

    Hint: Use the table columns filters and sorting (including multi-selecting) to narrow your results. See Filter to learn how to work with the table.

    Each name (element), file, XML Tag, attribute, and available element descriptions display.

    To the right of the XML elements is an example of the data source XML.

Concept Link IconSEE ALSO